// 2View.h : interface of the CMy2View class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_2VIEW_H__FDDAA26C_523E_4E7D_9D46_B7E1341A4DF4__INCLUDED_)
#define AFX_2VIEW_H__FDDAA26C_523E_4E7D_9D46_B7E1341A4DF4__INCLUDED_
#include "2Doc.h"
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000


class CMy2View : public CView
{
protected: // create from serialization only
	CMy2View();
	DECLARE_DYNCREATE(CMy2View)

// Attributes
public:
	CMy2Doc* GetDocument();

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CMy2View)
	public:
	virtual void OnDraw(CDC* pDC);  // overridden to draw this view
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	virtual BOOL Create(LPCTSTR lpszClassName, LPCTSTR lpszWindowName, DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID, CCreateContext* pContext = NULL);
	protected:
	virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
	virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
	virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
	virtual void CalcWindowRect(LPRECT lpClientRect, UINT nAdjustType = adjustBorder);
	virtual LRESULT DefWindowProc(UINT message, WPARAM wParam, LPARAM lParam);
	//}}AFX_VIRTUAL

// Implementation
public:
	CButton bt2;
	CButton bt1;
	CButton bt3;
	CButton bt4;
	CButton bt5;
	CButton bt6;
	CButton bt7;
	CButton bt8;
	CButton bt9;
	virtual ~CMy2View();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:

// Generated message map functions
protected:
public:
	//{{AFX_MSG(CMy2View)
	afx_msg void OnCancelMode();
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void On1();
	afx_msg void On2();
	afx_msg void On3();
	afx_msg void On4();
	afx_msg void On9();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

#ifndef _DEBUG  // debug version in 2View.cpp
inline CMy2Doc* CMy2View::GetDocument()
   { return (CMy2Doc*)m_pDocument; }
#endif

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_2VIEW_H__FDDAA26C_523E_4E7D_9D46_B7E1341A4DF4__INCLUDED_)
